﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="删除.aspx.cs"Debug="true" Inherits="管理员_登录_删除" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .auto-style1 {
            width: 100%;
            height: 85px;
            background-image: url('../../photo/20140522103921-125267937.jpg');
        }
        .auto-style2 {
            width: 61%;
            background-color: #00FF00;
        }
        .auto-style3 {
            height: 297px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
        <table class="auto-style1">
            <tr>
                <td>&nbsp;</td>
            </tr>
        </table>
        <table align="center" class="auto-style2">
            <tr>
                <td class="auto-style3">
                    <asp:GridView ID="gridview" runat="server" AutoGenerateColumns="False" OnRowDeleting="GridView1_RowDeleting" OnRowDataBound="GridView1_RowDataBound">
                        <Columns>
                            <asp:BoundField DataField="CAR_NUMBER" HeaderText="编号" />
                            <asp:BoundField DataField="CAR_NAME" HeaderText="姓名" />
                            <asp:BoundField DataField="CAR_ID" HeaderText="车牌" />
                            <asp:BoundField DataField="CAR_PRICE" HeaderText="起价" />
                            <asp:BoundField DataField="CAR_OID" HeaderText="驾龄" />
                            <asp:BoundField DataField="CAR_PASSWORD" HeaderText="密码" />
                            <asp:BoundField DataField="CAR_STATE" HeaderText="状态" />
                            <asp:CommandField ShowDeleteButton="True" />
                        </Columns>
                    </asp:GridView>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:testDBConnectionString %>" SelectCommand="SELECT * FROM [Car_users]"></asp:SqlDataSource>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
